<template>
<div style="display: flex;">
  <div style="box-shadow: 2px 0 6px rgb(0 21 41); width: 150px">
    <el-menu
        style="min-height: calc( 100vh - 50px );height: 100%;"
        background-color="rgb(48,65,86)"
        text-color="#fff"
        :default-active="path"
        router
        collapse-transition
    >
      <el-sub-menu  index="1">
        <template #title>
          <el-icon><Menu /></el-icon>
          <span>作品管理</span>
        </template>
        <el-menu-item style="min-width: 150px" index="/works" ><i><el-icon><Setting /></el-icon></i>评阅页面</el-menu-item>
        <el-menu-item style="min-width: 150px" index="/grade" ><i><el-icon><Setting /></el-icon></i>总成绩</el-menu-item>
      </el-sub-menu>
    </el-menu>
</div>
</div>
</template>

<script>

export default {
  name: "GAside",
  setup(){
    return{
    }
  },
  data(){
    return{
      path:"",
      id:""
    }
 },
  created() {
    this.id=JSON.parse(sessionStorage.getItem("gameId"))||""
  },
  methods:{

  }
}
</script>

<style scoped>

</style>